package com.z.pms1.action;

import java.util.List;

import com.opensymphony.xwork2.Action;
import com.z.pms1.model.C_user;
import com.z.pms1.service.PortalService;

@SuppressWarnings("unused")
public class PortalAction {
	
	private PortalService service;
	
	private List<C_user> users;
	
	private C_user user;
	
	private String user_id;
	
	public String execute() {
		System.out.println(">>>>>>>>>>>>>>");
		service.findAll();
		return Action.SUCCESS;
	}
	
	
	public PortalAction(PortalService service) {
		this.service = service;
	}

	public C_user getUser() {
		return user;
	}

	public void setUser(C_user user) {
		this.user = user;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	
}
